package com.pg.service.impl;


import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.pg.entity.kgg.EipElectricalInterlock;
import com.pg.mapper.EipElectricalInterlockMapper;
import com.pg.service.EipElectricalInterlockService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 电气联锁 服务类
 * </p>
 *
 * @Author likl
 * @since 2020-10-26
 */
@Service
@DS("proxyDs")
@Primary
public class EipElectricalInterlockServiceImpl extends ServiceImpl<EipElectricalInterlockMapper, EipElectricalInterlock> implements EipElectricalInterlockService {

    @Autowired
    private EipElectricalInterlockMapper eipElectricalInterlockMapper;

    @Override
    public void saveOne(EipElectricalInterlock eipElectricalInterlock) {
        eipElectricalInterlockMapper.insert(eipElectricalInterlock);
    }
}
